#pragma once

#include "SMyListView.generated.h"

UCLASS()
class UListViewItemData : public UObject{
	GENERATED_BODY()

public:
	FString MyName = TEXT("张三");
};

class SMyListView : public SListView<TSharedPtr<UListViewItemData>>{
public:
	TArray<TSharedPtr<UListViewItemData>> ListItemDatas;
public:
	void Construct(const FArguments& InArgs);

	TSharedRef<ITableRow> GenerateRowItem(TSharedPtr<UListViewItemData> InData, const TSharedRef<STableViewBase>& OwnerTable);
};
